package com.usian.car;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

@Data
@TableName("car_used")
public class Used implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String carNumber;

    private String usageReason;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date usedTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date returnTime;

    private Integer userId;

    private String idCardNumber;

    private Integer departmentId;

    private String post;

    private String status;


}
